package com.etc.dao;

import com.etc.entity.AdCategory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdCategoryMapper {
    /**
     * 老金的删除byid
     * @param id
     * @return
     */
    int deleteByPrimaryKey(@Param("id") Long id);

    /**
     * 老金的查找所有
     * @param
     * @return
     */
    List<AdCategory> selectByAll();



    int insert(AdCategory record);

    int insertSelective(AdCategory record);

    AdCategory selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AdCategory record);

    int updateByPrimaryKey(AdCategory record);
}